package cn.ibdsr.human.util;

/**
 * @description:
 * @author: cdl
 * @email: iamcimon@qq.com
 * @date: 2021/6/25 12:55
 */
public class RegUtils {
    /**
     * 数字
     */
    public static final String NUMBER = "^[0-9]*[1-9][0-9]*$";
    /**联系人名称，2-4个汉字*/
    public static final String CONCAT_NAME = "^[\\u4e00-\\u9fa5]{2,6}$";
    /**
     * 手机号码
     */
    public static final String MOBILE_PHONE = "^1[3|4|5|6|7|8|9][0-9]\\d{8}$";

    public static final String TIME_FORMAT="^[0-2]?[0-9]:[0-5][0-9]";
    /**
     * 统一信用代码
     */
    public static final String CREDIT_CODE = "^[0-9A-Z]{18}$";


    /**
     * 身份证号码
     */
    public static final String ID_CARD_NO = "^\\d{15}$|^\\d{17}[0-9Xx]$";
}
